public class MethodOddEven {
    public static void main(String[] args) {
        Judge(3);
    }
    public static void Judge(int num){
        if(num % 2 == 0){
            System.out.println(num + "是偶数");
        }else System.out.println(num + "是奇数");
    }
}
